package com.glorysoft.wangnianxinpda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


public class MaterialInfoEntity implements Serializable {
    private String MATERIALCODE;//物料ID
    private List<MaterialDescEntity> TOOLLIST;
    private String MATERIALSPECS;//物料规格
    private String MATERIALTYPE;//物料类型
    private String EXPIRATIONTIME;//过期时间
    private String USEQTY;//物料用量
    private String MATLOT;//物料用量

    public String getMATERIALSPECS() {
        return MATERIALSPECS == null ? "" : MATERIALSPECS;
    }

    public void setMATERIALSPECS(String MATERIALSPECS) {
        this.MATERIALSPECS = MATERIALSPECS;
    }

    public String getMATERIALTYPE() {
        return MATERIALTYPE == null ? "" : MATERIALTYPE;
    }

    public void setMATERIALTYPE(String MATERIALTYPE) {
        this.MATERIALTYPE = MATERIALTYPE;
    }

    public String getEXPIRATIONTIME() {
        return EXPIRATIONTIME == null ? "" : EXPIRATIONTIME;
    }

    public void setEXPIRATIONTIME(String EXPIRATIONTIME) {
        this.EXPIRATIONTIME = EXPIRATIONTIME;
    }

    public String getUSEQTY() {
        return USEQTY == null ? "" : USEQTY;
    }

    public void setUSEQTY(String USEQTY) {
        this.USEQTY = USEQTY;
    }

    public String getMATLOT() {
        return MATLOT == null ? "" : MATLOT;
    }

    public void setMATLOT(String MATLOT) {
        this.MATLOT = MATLOT;
    }

    public String getMATERIALCODE() {
        return MATERIALCODE == null ? "" : MATERIALCODE;
    }

    public void setMATERIALCODE(String MATERIALCODE) {
        this.MATERIALCODE = MATERIALCODE;
    }

    public List<MaterialDescEntity> getTOOLLIST() {
        if (TOOLLIST == null) {
            return new ArrayList<>();
        }
        return TOOLLIST;
    }

    public void setTOOLLIST(List<MaterialDescEntity> TOOLLIST) {
        this.TOOLLIST = TOOLLIST;
    }

    public class MaterialDescEntity implements Serializable{
        private String MATERIALSPECS;//物料规格
        private String MATERIALTYPE;//物料类型
        private String EXPIRATIONTIME;//过期时间
        private String USEQTY;//物料用量
        private String MATLOT;//物料用量

        public String getMATERIALSPECS() {
            return MATERIALSPECS == null ? "" : MATERIALSPECS;
        }

        public void setMATERIALSPECS(String MATERIALSPECS) {
            this.MATERIALSPECS = MATERIALSPECS;
        }

        public String getMATERIALTYPE() {
            return MATERIALTYPE == null ? "" : MATERIALTYPE;
        }

        public void setMATERIALTYPE(String MATERIALTYPE) {
            this.MATERIALTYPE = MATERIALTYPE;
        }

        public String getEXPIRATIONTIME() {
            return EXPIRATIONTIME == null ? "" : EXPIRATIONTIME;
        }

        public void setEXPIRATIONTIME(String EXPIRATIONTIME) {
            this.EXPIRATIONTIME = EXPIRATIONTIME;
        }

        public String getUSEQTY() {
            return USEQTY == null ? "" : USEQTY;
        }

        public void setUSEQTY(String USEQTY) {
            this.USEQTY = USEQTY;
        }

        public String getMATLOT() {
            return MATLOT == null ? "" : MATLOT;
        }

        public void setMATLOT(String MATLOT) {
            this.MATLOT = MATLOT;
        }
    }


}
